home *** CD-ROM | disk | FTP | other *** search
- #pragma once
- /*****
- *
- * compiler_stuff.h
- *
- * Stuff to deal with particular compilers' idiosyncrasies
- *
- *****/
-
- #include "MyConfiguration.h"
-
-
- /*** CONSTANTS ***/
-
- /* are we compiling for Symantec compilers? */
- #if defined(__SC__) || defined(THINK_C)
- #define kCompiling_For_Symantec 1
- #else
- #define kCompiling_For_Symantec 0
- #endif
-
- /* make sure that nil works as expected for Symantec compilers */
- #if !defined(nil) || ( !defined(__cplusplus) && kCompiling_For_Symantec )
- #ifdef nil
- #undef nil
- #endif
- #define nil 0
- #endif
-
- /** PROFILER SUPPORT **/
-
- #if __powerc
- #define kProcessorString "PPC"
- #else
- #define kProcessorString "68K"
- #endif
-
- /** PASCAL SUPPORT **/
-
- #if kCompileWithPascalSupport
- #define p_export pascal
- #else
- #define p_export
- #endif
-
- /***** EOF *****/
-